<template>
  <div>
        <van-list
            v-model="loading"
            :finished="finished"
            finished-text="没有更多了"
            @load="onLoad"
            >
          <van-cell v-for="(item,index) in listdata" :key="index" :title="item" @click="goods(item)"/>
        </van-list>
  </div>
</template>

<script>
export default {
  props:['listdata'],
  data () {
    return {
      list: [],
      loading: false,
      finished: false,
    }
  },
  methods:{
    onLoad() {
      
    },
    goods(val){

       this.$emit("getval",val)
    }
  }
}
</script>

<style>

</style>